takeSnapshot

suspend fun takeSnapshot(): Image

Takes a snapshot of this view's current contents. Like V5, this is not available on iOS: an AVCaptureVideoPreviewLayer cannot be snapshotted.

Throws

Always, on iOS.